package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 故障码对象 tb_fault
 * 
 * @author ruoyi
 * @date 2023-06-25
 */
public class TbFault extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 故障码 */
    private Long faultId;

    /** 故障名称 */
    @Excel(name = "故障名称")
    private String faultName;

    /** 故障分类编码 */
    @Excel(name = "故障分类编码")
    private String faultTypeCode;

    /** 是否产生报警 */
    @Excel(name = "是否产生报警")
    private Long faultAlert;

    /** 故障状态 */
    @Excel(name = "故障状态")
    private Long faultStatus;

    /** 故障描述 */
    @Excel(name = "故障描述")
    private String faultDescribe;

    /** 故障编码 */
    @Excel(name = "故障编码")
    private String faultCode;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private Long faultDeleted;

    /** 故障类型 */
    @Excel(name = "故障类型")
    private String faultTypeName;


    public void setFaultId(Long faultId) 
    {
        this.faultId = faultId;
    }

    public Long getFaultId() 
    {
        return faultId;
    }
    public void setFaultName(String faultName) 
    {
        this.faultName = faultName;
    }

    public String getFaultName() 
    {
        return faultName;
    }
    public void setFaultTypeCode(String faultTypeCode) 
    {
        this.faultTypeCode = faultTypeCode;
    }

    public String getFaultTypeCode() 
    {
        return faultTypeCode;
    }
    public void setFaultAlert(Long faultAlert) 
    {
        this.faultAlert = faultAlert;
    }

    public Long getFaultAlert() 
    {
        return faultAlert;
    }
    public void setFaultStatus(Long faultStatus) 
    {
        this.faultStatus = faultStatus;
    }

    public Long getFaultStatus() 
    {
        return faultStatus;
    }
    public void setFaultDescribe(String faultDescribe) 
    {
        this.faultDescribe = faultDescribe;
    }

    public String getFaultDescribe() 
    {
        return faultDescribe;
    }
    public void setFaultCode(String faultCode) 
    {
        this.faultCode = faultCode;
    }

    public String getFaultCode() 
    {
        return faultCode;
    }
    public void setFaultDeleted(Long faultDeleted) 
    {
        this.faultDeleted = faultDeleted;
    }

    public Long getFaultDeleted() 
    {
        return faultDeleted;
    }

    public String getFaultTypeName() {
        return faultTypeName;
    }

    public void setFaultTypeName(String faultTypeName) {
        this.faultTypeName = faultTypeName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("faultId", getFaultId())
            .append("faultName", getFaultName())
            .append("faultTypeCode", getFaultTypeCode())
            .append("faultAlert", getFaultAlert())
            .append("faultStatus", getFaultStatus())
            .append("faultDescribe", getFaultDescribe())
            .append("faultCode", getFaultCode())
            .append("faultDeleted", getFaultDeleted())
            .append("faultTypeName", getFaultTypeName())
            .toString();
    }
}
